package com.achievement.mapper;

import com.achievement.domain.entity.StandardEntity;
import com.achievement.domain.param.StandardParam;
import com.achievement.domain.vo.StandardVO;
import com.baomidou.mybatisplus.core.conditions.Wrapper;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.toolkit.Constants;
import org.apache.ibatis.annotations.Param;

import java.util.HashMap;
import java.util.List;

public interface StandardMapper extends BaseMapper<StandardEntity>
{
    List<StandardVO> selectByPage(@Param(value = "param") StandardParam param, @Param(Constants.WRAPPER) Wrapper<StandardEntity> queryWrapper);

    List<HashMap<String, Integer>> listStatistics(@Param(value = "param")StandardParam param,@Param(Constants.WRAPPER) Wrapper<StandardEntity> queryWrapper);
}
